package com.sphd.emanu.pojo.market;

import java.io.Serializable;
import java.util.Date;

public class TRestRulesDiscount implements Serializable{
    private Integer id;

    private Integer org;

    private String name;

    private String description;

    private Date beginDate;

    private Date endDate;

    private Boolean enabled;

    private Integer discountRate;

    private Boolean advanceEnabled;

    private Integer advanceRate;

    private Integer advanceTime;

    private Boolean isLoop;

    private Integer creator;

    private Date createDate;

    private Integer updator;

    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrg() {
        return org;
    }

    public void setOrg(Integer org) {
        this.org = org;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(Integer discountRate) {
        this.discountRate = discountRate;
    }

    public Boolean getAdvanceEnabled() {
        return advanceEnabled;
    }

    public void setAdvanceEnabled(Boolean advanceEnabled) {
        this.advanceEnabled = advanceEnabled;
    }

    public Integer getAdvanceRate() {
        return advanceRate;
    }

    public void setAdvanceRate(Integer advanceRate) {
        this.advanceRate = advanceRate;
    }

    public Integer getAdvanceTime() {
        return advanceTime;
    }

    public void setAdvanceTime(Integer advanceTime) {
        this.advanceTime = advanceTime;
    }

    public Boolean getIsLoop() {
        return isLoop;
    }

    public void setIsLoop(Boolean isLoop) {
        this.isLoop = isLoop;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdator() {
        return updator;
    }

    public void setUpdator(Integer updator) {
        this.updator = updator;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}